package com.ruoyi.web.controller.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 orders
 * 
 * @author ruoyi
 * @date 2020-12-18
 */
public class Orders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** $column.columnComment */
    @Excel(name = "序号")
    private String no;

    /** $column.columnComment */
    @Excel(name = "创建时间")
    private String createdAt;

    /** $column.columnComment */
    @Excel(name = "总额")
    private Long totalFee;

    /** $column.columnComment */
    @Excel(name = "超市名称")
    private String shopName;

    /** $column.columnComment */
    @Excel(name = "图片")
    private String itemsImage;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNo(String no) 
    {
        this.no = no;
    }

    public String getNo() 
    {
        return no;
    }
    public void setCreatedAt(String createdAt) 
    {
        this.createdAt = createdAt;
    }

    public String getCreatedAt() 
    {
        return createdAt;
    }
    public void setTotalFee(Long totalFee) 
    {
        this.totalFee = totalFee;
    }

    public Long getTotalFee() 
    {
        return totalFee;
    }
    public void setShopName(String shopName)
    {
        this.shopName = shopName;
    }

    public String getShopName()
    {
        return shopName;
    }
    public void setItemsImage(String itemsImage)
    {
        this.itemsImage = itemsImage;
    }

    public String getItemsImage()
    {
        return itemsImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("createdAt", getCreatedAt())
            .append("totalFee", getTotalFee())
            .append("shopName", getShopName())
            .append("itemsImage", getItemsImage())
            .toString();
    }
}
